package com.microtf.inscription.framework.vo.setting;

import com.microtf.inscription.framework.annotation.FieldAnnotation;
import com.microtf.inscription.framework.annotation.FormAnnotation;
import com.microtf.inscription.framework.vo.SettingDataVo;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.io.Serializable;

@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@FormAnnotation(title = "邮件设置",method = "post")
public class MailerSettingVo extends SettingDataVo implements Serializable {
    @FieldAnnotation(value = "启用",order = 1)
    Boolean enable;
    @FieldAnnotation(value = "主机",order = 2)
    String host;
    @FieldAnnotation(value = "用户名",order = 3)
    String username;
    @FieldAnnotation(value = "密码",order = 4)
    String password;
    @FieldAnnotation(value = "端口",order = 5)
    String port;
    @FieldAnnotation(value = "ssl enable",order = 6)
    Boolean sslEnable;
    @FieldAnnotation(value = "auth",order = 7)
    Boolean auth;
    @FieldAnnotation(value = "start ssl enable",order = 8)
    Boolean startSslEnable;
    @FieldAnnotation(value = "start ssl required",order = 9)
    Boolean startSslRequired;
}
